package org.example.warehouse.api;

import org.example.core.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author 小杰_cc
 * @version 1.0
 */
@FeignClient("order-service")
public interface OrderService {
    @GetMapping("/oms/front/order/status/{orderSn}")
    R<Integer> status(@PathVariable("orderSn") String orderSn);
}
